package com.macro.mall.common.constant;

/**
 * @author: TuDou
 * @create: 2024-09-20 14:39
 **/
public class Constant {

    private Constant() {
    }

    // 配置相关的常量
    public static class RedisConfigCode {

        // 挂号支付开关(0:关，1:开)
        public static final String REG_PAY_SWITCH = "reg_pay_switch";
        // 门诊支付开关(0:关，1:开)
        public static final String CLINIC_PAY_SWITCH = "clinic_pay_switch";

        //  提交订单令牌的缓存key
        public static final String SUBMIT_ORDER_TOKEN_KEY = "order:submit:%s:%s";
        //  重复提交缓存key
        public static final String ORDER_SERVER_REPEAT_SUBMIT = "order-server:repeat_submit:%s";

    }
}

